home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / Ecore_Txt.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-01-09  |  620 b   |  41 lines

  1. #ifndef _ECORE_TXT_H
  2. #define _ECORE_TXT_H
  3.  
  4. #ifdef EAPI
  5. #undef EAPI
  6. #endif
  7. #ifdef WIN32
  8. # ifdef BUILDING_DLL
  9. #  define EAPI __declspec(dllexport)
  10. # else
  11. #  define EAPI __declspec(dllimport)
  12. # endif
  13. #else
  14. # ifdef __GNUC__
  15. #  if __GNUC__ >= 4
  16. #   define EAPI __attribute__ ((visibility("default")))
  17. #  else
  18. #   define EAPI
  19. #  endif
  20. # else
  21. #  define EAPI
  22. # endif
  23. #endif
  24.  
  25. /**
  26.  * @file Ecore_Txt.h
  27.  * @brief Provides a text encoding conversion function.
  28.  */
  29.  
  30. #ifdef __cplusplus
  31. extern "C" {
  32. #endif
  33.  
  34. EAPI char *ecore_txt_convert(const char *enc_from, const char *enc_to, const char *text);
  35.  
  36. #ifdef __cplusplus
  37. }
  38. #endif
  39.  
  40. #endif
  41.